﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;

namespace AUV5.Model
{
    /// <summary>
    /// 功能：     实体类 ServiceInfo ( 服务，产品...网站的主体数据 ) 
    /// 作者：     LI
    /// 日期：     2012-01-16
    /// 修改日期： 
    /// 修改人：
    /// 修改内容：
    /// </summary>
    [Serializable]
    public class ServiceInfo
    {
        public ServiceInfo()
        {

        }
        /// <summary>
        /// 发布服务的用户
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// 服务的类别名称
        /// </summary>
        public string CategoryName { get; set; }

        /// <summary>
        /// 附件列表
        /// </summary>
        public IList<ServiceAttachment> AttachList { get; set; }
        /// <summary>
        /// 关键字列表
        /// </summary>
        public IList<string> KeyWords { get; set; }
        /// <summary>
        /// 用户信息
        /// </summary>
        public UserInfo User { get; set; }
        /// <summary>
        /// 增值服务列表
        /// </summary>
        public IList<ExtraService> ExtraList { get; set; }

        #region Model

        /// <summary>
        /// 
        /// </summary>
        public string ServiceID { get; set; }
        /// <summary>
        /// 服务发布者
        /// </summary>
        public string UserID { get; set; }
        /// <summary>
        /// 服务类别
        /// </summary>
        public string CategoryID { get; set; }
        /// <summary>
        /// 服务标题
        /// </summary>
        public string Title { get; set; }
        /// <summary>
        /// 服务描述
        /// </summary>
        public string Description { get; set; }
        /// <summary>
        /// 服务说明
        /// </summary>
        public string Instruction { get; set; }
        /// <summary>
        /// 完成所需时间
        /// </summary>
        public int Duration { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public decimal Price { get; set; }
        /// <summary>
        /// 是否需要快递
        /// </summary>
        public bool Shippable { get; set; }
        /// <summary>
        /// 至本地运费
        /// </summary>
        public decimal NativeShipCharge { get; set; }
        /// <summary>
        /// 至外地运费
        /// </summary>
        public decimal OtherShipCharge { get; set; }
        /// <summary>
        /// 是否是移动设备
        /// </summary>
        public bool IsMobileService { get; set; }
        /// <summary>
        /// 移动设备的厂商
        /// </summary>
        public string MobileBrand { get; set; }
        /// <summary>
        /// 移动设备的型号
        /// </summary>
        public string MobileModel { get; set; }
        /// <summary>
        /// 是否需要库存
        /// </summary>
        public bool NeedStock { get; set; }
        /// <summary>
        /// 库存量
        /// </summary>
        public int Stock { get; set; }
        /// <summary>
        /// 发布信息的地区
        /// </summary>
        public string ServiceFrom { get; set; }
        /// <summary>
        /// 附加到（作为某条服务的附加服务）
        /// </summary>
        public string ExtraFor { get; set; }
        /// <summary>
        /// 是否有视频
        /// </summary>
        public bool HasVideo { get; set; }
        /// <summary>
        /// 好评数
        /// </summary>
        public int GoodRating { get; set; }
        /// <summary>
        /// 中评数
        /// </summary>
        public int MiddleRating { get; set; }
        /// <summary>
        /// 差评数
        /// </summary>
        public int BadRating { get; set; }
        /// <summary>
        /// 已完成的订单数
        /// </summary>
        public int SalesCount { get; set; }
        /// <summary>
        /// 被浏览的次数 
        /// </summary>
        public int ViewCount { get; set; }
        /// <summary>
        /// 服务信息状态
        /// </summary>
        public int StatusID { get; set; }
        /// <summary>
        /// 数据状态
        /// </summary>
        public int State { get; set; }
        /// <summary>
        /// 是否已删除
        /// </summary>
        public int IsDel { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public DateTime CreateDate { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public DateTime UpdateDate { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public DateTime BeginDate { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public DateTime EndDate { get; set; }

        #endregion Model
    }
}

